package net.tree;

public class TreeNode <E>{
    public E data;
    public TreeNode<E> Left;
    E date;
    TreeNode<E> left;
    TreeNode<E> right;

    public TreeNode(E date) {
        this.date = date;
    }

    public TreeNode(E date, TreeNode<E> left, TreeNode<E> right) {
        this.date = date;
        this.left = left;
        this.right = right;
    }
}
